#pragma once

#include <Pub\Singleton.h>
#include "ScriptClassTemplate.h"
#include <vector>

using namespace std;

class FooClass : 
	public CSingleton<FooClass>,
	public ScriptClassTemplate
{
private:
	DWORD chuizi;
	char szChuizi[MAX_PATH];

private:
	friend CSingleton<FooClass>;
	FooClass();

public:
	void Register(lua_State* L);

public:
	static int add(lua_State* L);
	static int setV(lua_State* L);
	static int getV(lua_State* L);

	static int gc_obj(lua_State* L);
	static int constructor(lua_State* L);
	static int porxy(lua_State* L);
};

